<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="/templates/tmpl_game.xhtml">
	<ui:define name="centro">

		<h:form id="form">
			<p:dataTable id="listaSprintBacklog" var="sprintBacklog"
				value="#{sprintBacklogMBean.itensConcluidos}" paginator="true" rows="10"
				paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
				rowsPerPageTemplate="5,10,15"
				emptyMessage="Nenhuma tarefa concluída"
				resizableColumns="true"
				rowKey="#{sprintBacklog.id}"
				rowIndexVar="rowIndex">

				<f:facet name="header">
					Lista de itens do Sprint backlog concluídos
				</f:facet>
				
				<p:column headerText="Título">
					<p:outputLabel value="#{sprintBacklog.titulo}" />
				</p:column>

				<p:column headerText="Nível">
					<p:outputLabel value="#{sprintBacklog.nivel.descricao}" />
				</p:column>

				<p:column headerText="Ganho Experiência">
					<p:outputLabel value="#{sprintBacklog.ganhoExperiencia}" />
				</p:column>

				<p:column headerText="Ganho Scrums">
					<p:outputLabel value="#{sprintBacklog.ganhoScrums}" />
				</p:column>

				<p:column headerText="Dia Inicio Execução">
					<p:outputLabel value="#{sprintBacklog.diaInicioExecucao.dia}" />
				</p:column>

				<p:column headerText="Dia Fim Execução">
					<p:outputLabel value="#{sprintBacklog.diaFimExecucao.dia}" />
				</p:column>

			</p:dataTable>

		</h:form>

	</ui:define>
</ui:composition>

</html>
